public class demo1 {
    public static void main(String[] args) {
        //首先定义一个数组
        String[] arr = new String[50];
        //添加学生
        arr[0] = "张三";
        arr[1] = "李四";
        //打印
        System.out.println(arr[0]);
        System.out.println(arr[1]);
        System.out.println(arr[3]);

        //整数默认初始化值为0
        //
    }
}
